Those who were on unpaid leave less than 30 days, are not entitled to unemployment benefit.
However, you can stay take your maternity leave earlier and start receiving the maternity allowance before birth, for more information, click here.
Besides, if after the end of maternity leave, you are still on unpaid leave, you may be entitled to unemployment benefit, as anyone else who were sent on unpaid leave or dismissed.